package com.example.qxfw.dataBaseManager.service;

import com.example.qxfw.common.entity.*;
import com.example.qxfw.common.entity.CountryPoint;
import com.example.qxfw.common.entity.CountyPoint;
import com.example.qxfw.common.entity.yj.ImpGoal;
import com.example.qxfw.common.entity.yj.Village;

import java.util.List;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/7  星期五   14:05
 * @description : 此类用来
 ***************************************/
public interface EmergencyResourcesService {

    List<CountyPoint> getAllCountyPoint();

    List<CountryPoint> getAllCountryPoint();

    List<Village> getAllVillage();

    Integer selectJudge(String tableName,String name);


    Integer saveCountyPoint(CountyPoint countyPoint);

    Integer saveCountryPoint(CountryPoint countryPoint);

    Integer saveVillage(Village village);

    Integer updateCountyPoint(CountyPoint countyPoint);

    Integer updateCountryPoint(CountryPoint countryPoint);

    Integer updateVillage(Village village);

    Integer selectDelete(String tableName,Integer id);

    Integer saveReservoir(Reservoir reservoir);

    Integer updateReservoir(Reservoir reservoir);

    Integer deleteReservoir(Integer id);

    List<Reservoir> selectReservoirOrderById();

    List<Reservoir> getAllReservoir();

    List<DangerSource> getAllDangerSource();

    List<ImpGoal> getAllImpGoal();

    List<FloodcontrolProject> getAllFloodControlProject();

    List<PotentialPoints> getAllPotentialPoints();

    List<DisasterType> getAllDisasterType();

    Integer saveDangerSource(DangerSource dangerSource);

    Integer saveImpGoal(ImpGoal impGoal);

    Integer saveFloodControlProject(FloodcontrolProject floodcontrolProject);

    Integer updateDangerSource(DangerSource dangerSource);

    Integer updateImpGoal(ImpGoal impGoal);

    Integer updateFloodControlProject(FloodcontrolProject floodcontrolProject);

    Integer deleteDangerSource(Integer id);

    Integer deleteImpGoal(Integer id);

    Integer deleteFloodControlProject(Integer id);






}
